a {
  color: #00f;
}

a:visited {
  color: #808;
}

.efBackground {
  background-color: #def;
  color: #000;
}

.efBordered {
  border: 1px solid #000;
}

.efDialog {
  background-color: #ccc;
  border: 2px solid black;
  color: #000;
  box-shadow: 5px 2px 2px #666;
}

.efDialogTranslucent {
  background-color: #dddd;
  border: 2px solid #444;
  color: #000;
  box-shadow: 5px 2px 2px #666;
}

.efDialogEthereal {
  background-color: #adfd;
  border: 2px solid #444;
  color: #000;
  box-shadow: 5px 2px 2px #666;
}

.efDialogLongPress {
  background-color: #9a9e;
  border: 2px solid #444;
  color: #000;
  box-shadow: 5px 2px 2px #666;
}

.efDialogTop {
  background-color: #0002;
}

.efFlatButton {
  background-color: #ddd;
  border: 1px solid black;
  color: #000;
}

.efFlatButtonHighlighted {
  background-color: #bbb;
  border: 1px solid black;
  color: #000;
}

.efButton {
  background-color: #ddd;
  border: 1px solid black;
  color: #000;
  box-shadow: 3px 1px 1px #666;
}

.efButtonCantAfford {
  background-color: #ccc;
  border: 1px solid black;
  color: #999;
  box-shadow: 3px 1px 1px #666;
}

.efTextCantAfford {
  color: #999;
}

.efButtonHighlighted {
  background-color: #888;
  border: 1px solid black;
  color: #000;
  box-shadow: 3px 1px 1px #666;
}

.efButtonTranslucent {
  background-color: #0000;
  border: 1px solid black;
  color: #000;
}

.efButtonTranslucent:hover {
  background-color: #0001;
}

.efButtonTranslucentCantAfford {
  background-color: #0000;
  border: 1px solid black;
  color: #999;
}

.efButtonTranslucentCantAfford:hover {
  background-color: #0001;
}

.efButtonTranslucentCantRestricted {
  background-color: #0000;
  border: 1px solid black;
  color: #b88;
}

.efButtonMistletoeOngoing {
  color: #a66;
}

.efButtonMistletoeBusy {
  color: #666;
}

.efButtonInfinityAscend {
  color: #440;
  text-shadow: 0px 0px 5px #ff8;
}

.efSeasonBgSpring {
  background-color: #dbecc8;
}

.efSeasonBgSummer {
  background-color: #ee7;
}

.efSeasonBgAutumn {
  background-color: #d3be9c;
}

.efSeasonBgWinter {
  background-color: #eef;
}

.efUpgradeChip {
  background-color: #eee;
  border: 1px solid #000;
}

.efEtherealUpgradeChip {
  background-color: #9df;
  border: 1px solid #ff0;
}

.efPlantChip {
  background-color: #dbecc8;
  border: 1px solid #080;
}

.efEtherealPlantChip {
  background-color: #9df;
  border: 1px solid black;
}

.efWeatherOn {
  text-shadow: 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 0.3em #fff;
  color: #f00;
}

.efWeatherOff {
  text-shadow: 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 0.3em #fff;
  color: #000;
}

.efWeatherPerma {
  background-color: #9448;
}

.efWeatherPermaOff {
  background-color: #4448;
}

.efWatercressHighlight {
  text-shadow: 0 0 0.3em #0f0;
}

.efWarningOnDialogText {
  color: #c00;
}


/* Indicates the element is scrollable, especially in case the device decides not to show scrollbars.
There exists a scrollbox concept in CSS that can automatically make the shadows appear/disappear,
but it doesn't work on translucent background, so cannot use it here. So this must be combined with some JS*/
.efScrollGradient {
  background:
  radial-gradient(farthest-side at 50% 0, #0005, #0000), radial-gradient(farthest-side at 50% 100%, #0005, #0000) 0 100%;
  background-repeat: no-repeat;
	background-size: 100% 5%, 100% 5%, 100% 5%, 100% 5%;
}

.efAutomatonManual {
  color: #000;
  background-color: #f00;
}

.efAutomatonAuto {
  color: #000;
  background-color: #0f0;
}

.efAutomatonAuto2 {
  color: #000;
  background-color: #0ff;
}

.efAutomatonGlobalOff {
  color: #000;
  background-color: #888;
}

.efDropDown {
  color: #000;
  background-color: #aaa;
  border: 1px solid #000;
}

.efConnector {
  background-color: #000;
}

.efConnectorTriangle {
  background-color: #000;
  clip-path: polygon(0% 0%, 50% 100%, 100% 0%)
}

.efSquirrelBought {
  background-color: #4b4;
  color: #000;
  border: 1px solid #990;
}

.efSquirrelBuy {
  background-color: #aa4;
  color: #000;
  border: 1px solid #990;
}

.efSquirrelCantAfford {
  background-color: #aa4;
  color: #000;
  border: 1px solid #990;
}

.efSquirrelUnknown {
  background-color: #444;
  color: #aaa;
  border: 1px solid #100;
}

.efSquirrelGated {
  background-color: #4ff;
  color: #666;
  border: 1px solid #100;
}

.efButtonAmberActive {
  background-color: #ccc;
  border: 1px solid #c60;
  color: #c60;
}

.efStatsValue {
  color: #830;
}

.efGoal {
  background-color: #fff;
  border: 2px solid red;
  border-radius: 8px;
  color: red;
  padding-left: 4px;
}

.efGoalSmall {
  background-color: #000;
  border: 2px solid #e66;
  border-radius: 8px;
  color: #e66;
  padding-left: 4px;
}

@keyframes efGoalAnimFrame {
  from {
    font-size: 100%;
    opacity: 0%;
  }
  50% {
    font-size: 98%;
    opacity: 0%;
  }
  to {
    font-size: 100%;
    opacity: 100%;
  }
}

.efNoOutline {
  outline: unset;
}
.efNoOutline:focus {
  outline: unset;
}

.efHighlightResource {
  /*border: 2px solid #5555;*/
  text-shadow: 0 0 0.1em #b44, 0 0 0.1em #b44, 0 0 0.1em #b44, 0 0 0.1em #b44;
  border-color: #b44 !important;
  border-width: 3px !important;
}

.efInfo {
  border: 1px solid black;
}

.efInfoAmber {
  color: #c60;
}

.efInfoResouceConstrained {
  color: #888;
}

.efInfoShadow {
  text-shadow: 0px 0px 5px #ff0;
}

.efInfoPresentGrowSpeed {
  color: #4f8;
}

.efInfoPresentProdBoost {
  color: #f80;
}

.efFruitAbilityBox {
  background-color: #6d6;
  border: 1px solid black;
}
